<?php

require_once(dirname(__FILE__) . '/appconf.php');

class Product extends Site {

    function setup() {
        $this->run_modes('trial_invitation');
        $this->start_mode('trial_invitation');
        $this->selfurl = '/productTest1.php';
        parent::setup();
    }

    function cgiapp_prerun($rm = '') {
        parent::cgiapp_prerun();
    }

    function action_trial_invitation() {
        
        return $this->load_tmpl("test1.php");
    }

}

header("Content-type: text/html; charset=utf-8");
$webapp = new Product();
$webapp->run();
?>